package com.gvfish.dao;

import java.util.logging.Logger;

import javax.jdo.PersistenceManager;
import javax.jdo.PersistenceManagerFactory;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.gvfish.entity.Link;
@Repository
public class LinkDao extends CommonDao<Link,Long>{
	Logger log = Logger.getLogger(LinkDao.class.getName());
	@Autowired
	private PersistenceManagerFactory persistenceManagerFactory;

	@Override
	public PersistenceManager getPersistenceManager() {
		return persistenceManagerFactory.getPersistenceManager();
	}
	@Override
	public Class<Link> getTClass() {
		return Link.class;
	}

}
